package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.Exercises;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ExercisesRepository extends JpaRepository<Exercises,String> {
        List<Exercises> findByTaskId(String taskId);
        Integer deleteByTaskId(String taskId);
        Integer countByTaskId(String taskId);
}
